import {Dimensions} from 'react-native';

const WIN_WIDTH = Dimensions.get('window').width;

const ValueUtils = {
  valueTo(value, relative = 375) {
    return WIN_WIDTH * value / relative;
  }
};

export default ValueUtils;
